﻿namespace Infra.Logging
{
    using System;

    public interface ILog
    {
        /// <summary>
        /// Writes a message to the log.
        /// </summary>
        /// <param name="message">The message.</param>
        void WriteMessage(string message);

        /// <summary>
        /// Writes an exception to the log.
        /// </summary>
        /// <param name="exception">The exception.</param>
        void WriteException(Exception exception);
    }
}